package cn.edu.zust.zql.service;

import cn.edu.zust.zql.dao.Dao;
import cn.edu.zust.zql.model.SubjectType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2016/12/21.
 */
@Service
public class SubjectTypeServiceImpl implements SubjectTypeService {
    @Resource
    private Dao dao;


    public List<SubjectType> getAllSubjectType() {
        return dao.findForList("SubjectMapper.getAllSubjectType", null);
    }
}
